NDIM
NDIM%

Syntax: NDIM (array)
   and: NDIM% (array)
Location: Math Package (NDIM) and NDIM (NDIM%)

These two functions return the number of dimensions of a given array.

Example: 
DIM test% (10,50,2)         
PRINT NDIM% (test%) 
gives the answer 3

CROSS-REFERENCE:
DIMN finds the defined size of each dimension and can be used to replace NDIM%.
DIM declares an array.
